package com.px.baolaiapi.service;

import cn.hutool.json.JSONObject;
import com.px.common.api.CommonPage;
import com.px.mbg.model.MiscellaneousDelivery;
import com.baomidou.mybatisplus.extension.service.IService;
import com.px.baolaiapi.dto.MiscellaneousDeliveryDto;
import com.px.baolaiapi.page.MiscellaneousDeliveryPage;

/**
 * <p>
 * 杂发单 服务类
 * </p>
 *
 * @author 品讯科技
 * @since 2022-03-25
 */
public interface IMiscellaneousDeliveryService extends IService<MiscellaneousDelivery> {
    /**
     * 添加杂发单
     * @param miscellaneousDeliveryDto
     * @return
     */
    void addMiscellaneousDelivery(MiscellaneousDeliveryDto miscellaneousDeliveryDto);

    /**
     * 分页查询杂发单列表
     * @param miscellaneousDeliveryPage
     * @return
     */
    CommonPage queryMiscellaneousDeliveryPage(MiscellaneousDeliveryPage miscellaneousDeliveryPage);

    JSONObject queryMiscellaneousDeliveryById(long id);
}
